<?php
$intLimitG	  				= GIFT_LIMIT;
$intTotalG					= 0;
$intPageG	  				= $objRequest->getParam('gpage',1);
$intOffsetG					= ($intPageG - 1) * $intLimitG;
$objProduct					= new Product();
$strUrlGift					= HOST_VFRIEND . 'ajax/gift?uid=' . Vfriend_Function::base64E($intUserProId) . '&amp;';
$arrGift					= $objProduct->getAllForGift($intUserProId,$intOffsetG,$intLimitG,$intTotalG);
$this->view->arrGift		= $arrGift;
$this->view->intTotalG		= $intTotalG;
$this->view->intOffsetG		= $intOffsetG;
$this->view->intLimitG		= $intLimitG;
$this->view->strUrlG		= $strUrlGift;
$this->view->intUserProId 	= $intUserProId;
?>